package com.jingdianjichi.subject.application.convert;


import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Description: 标签dto转换
 * @return:
 * @Author:  sky
 * @date:  2024/11/7 21:53
 */
@Mapper
public interface SubjectLabelDTOConverter {


    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabelBO convertDTOToBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertBoListToDTOList(List<SubjectLabelBO> subjectCategoryBOList);
}
